<?php
class TradeViewModel extends ViewModel {
	public $viewFields = array (
			'Trade' => array (
					'*',
					'_type' => 'LEFT' 
			),
			'Tradefeedback' => array (
					'id'=>'fbid',
					'seller_nick'=>'fnick',
					'fcontent ',
					'fid',
					'role'=>'frole',
					'addtime',
					'_on' => 'Trade.tid = Tradefeedback.tid',
			) 
	);
}